function [res contOut] = bciTestRDA(bci,dat)

P = kneu_test_rda(bci.RDA,dat);
    
res=P.prediction;
if nargout>1,
    contOut = max(P.likelihoods,[],2);
end